import React from 'react';
import './index.less';

const Icon: React.FC = () => {
  return React.createElement(
    'div',
    { className: 'loader' },
    React.createElement('div', { className: 'loader-outter' }),
    React.createElement('div', { className: 'loader-inner' }),
  );
};

const PageLoading = function PageLoading() {
  return React.createElement(
    'div',
    { className: 'page-loading' },
    React.createElement(Icon),
    React.createElement('div', { className: 'page-loading-text' }, '加载中，请稍候...'),
  );
};

export default PageLoading;
